package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by root on 16-4-14.
 */
public class IEGuardKey extends ICtrl implements Serializable
{
	public IEGuardKey ()
	{
		back = false;
		method = "";
		errorinfo = "";

		start = 0;
		count = 0;
	}

	public IEGuardKey ( boolean back, String errorinfo )
	{
		this();

		this.back = back;
		this.errorinfo = errorinfo;
	}

	public IEGuardKey ( String method, String mac )
	{
		this();

		this.method = method;
		this.mac = mac;
	}

	public IEGuardKey ( String method, int egkey_id )
	{
		this();

		this.method = method;
		this.egkey_id = egkey_id;
	}

	public IEGuardKey ( String method, int caddr_id, String card_nom, String name, String id_card )
	{
		this();

		this.method = method;
		this.caddr_id = caddr_id;
		this.card_nom = card_nom;
		this.name = name;
		this.id_card = id_card;
	}

	public IEGuardKey ( String method, int egkey_id, int login_id, int eguard_id, int open_total, int open_count, int once_actime, String open_date, String expire_date, String close_date, String mobile, String name, String id_card, int start, int count, String start_date, String end_date )
	{
		this();

		this.method = method;
		this.egkey_id = egkey_id;
		this.login_id = login_id;
		this.eguard_id = eguard_id;
		this.open_total = open_total;
		this.open_count = open_count;
		this.once_actime = once_actime;

		this.open_date = open_date;
		this.expire_date = expire_date;

		this.close_date = close_date;

		this.mobile = mobile;
		this.name = name;
		this.id_card = id_card;

		this.start = start;
		this.count = count;

		this.start_date = start_date;
		this.end_date = end_date;
	}

	private static final long serialVersionUID = 2900001L;



	public int egkey_id;
	public int source_id;
	public int login_id;
	public int eguard_id;
	public int open_total;
	public int open_count;
	public int once_actime;
	public int share_level;
	public String create_date;
	public int create_id;
	public String expire_date;
	public String open_date;
	public String close_date;

	public String open_key;
	public String bluetooth_key;
	public String bluetooth_name;
	public String mac;
	public String uuid;

	public String gi_fulltext;

	public int caddr_id;
	public String card_nom;

	public String mobile;
	public String name;
	public String id_card;



	public String start_date;
	public String end_date;
}
